package cn.itcast.demo1;

public class Test {
    public static void main(String[] args) {

        //测试toString方法
        Student s1=new Student("欧阳修",01,66);
        System.out.println(s1);
        Student s2=new Student("欧阳修",01,66);
        System.out.println(s2);

        System.out.println(s1.toString());
       Boolean b1=s1.equals(s2);
        System.out.println(b1);



    }
}
